package priv.mill.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import priv.mill.entry.Friend;

public interface FriendMpper2 {

	Friend getFriend(Integer id);

	int insert(Friend friend2);

	Friend selectByMap(Friend friend);
	
	int updateAuthorIfNecessary(Friend friend);//#{}
	
	int insertFriends(@Param("friends")List<Friend> friends);
}
